package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 具体商品的参数对象 goods_sku
 * 
 * @author ruoyi
 * @date 2022-01-26
 */
public class GoodsSku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long goodSkuId;

    /** 隶属商品spu的ID */
    @Excel(name = "隶属商品spu的ID")
    private Long goodSpuId;

    /** 收藏数量 */
    @Excel(name = "收藏数量")
    private String cfav;

    /** 打折描述（活动价，跳楼价，双十一） */
    @Excel(name = "打折描述", readConverterExp = "活=动价，跳楼价，双十一")
    private String discountDesc;

    /** 旧价格 */
    @Excel(name = "旧价格")
    private String oldPrice;

    /** 新价格 */
    @Excel(name = "新价格")
    private String newPrice;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDelete;

    /** 销售数量 */
    @Excel(name = "销售数量")
    private String salesVolume;

    /** 快递类型 */
    @Excel(name = "快递类型")
    private Long expressTypeId;

    /** 商品详情页的图片展示 */
    @Excel(name = "商品详情页的图片展示")
    private String goodsSkuImage;

    public void setGoodSkuId(Long goodSkuId) 
    {
        this.goodSkuId = goodSkuId;
    }

    public Long getGoodSkuId() 
    {
        return goodSkuId;
    }
    public void setGoodSpuId(Long goodSpuId) 
    {
        this.goodSpuId = goodSpuId;
    }

    public Long getGoodSpuId() 
    {
        return goodSpuId;
    }
    public void setCfav(String cfav) 
    {
        this.cfav = cfav;
    }

    public String getCfav() 
    {
        return cfav;
    }
    public void setDiscountDesc(String discountDesc) 
    {
        this.discountDesc = discountDesc;
    }

    public String getDiscountDesc() 
    {
        return discountDesc;
    }
    public void setOldPrice(String oldPrice) 
    {
        this.oldPrice = oldPrice;
    }

    public String getOldPrice() 
    {
        return oldPrice;
    }
    public void setNewPrice(String newPrice) 
    {
        this.newPrice = newPrice;
    }

    public String getNewPrice() 
    {
        return newPrice;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }
    public void setSalesVolume(String salesVolume) 
    {
        this.salesVolume = salesVolume;
    }

    public String getSalesVolume() 
    {
        return salesVolume;
    }
    public void setExpressTypeId(Long expressTypeId) 
    {
        this.expressTypeId = expressTypeId;
    }

    public Long getExpressTypeId() 
    {
        return expressTypeId;
    }
    public void setGoodsSkuImage(String goodsSkuImage) 
    {
        this.goodsSkuImage = goodsSkuImage;
    }

    public String getGoodsSkuImage() 
    {
        return goodsSkuImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodSkuId", getGoodSkuId())
            .append("goodSpuId", getGoodSpuId())
            .append("cfav", getCfav())
            .append("discountDesc", getDiscountDesc())
            .append("oldPrice", getOldPrice())
            .append("newPrice", getNewPrice())
            .append("createTime", getCreateTime())
            .append("isDelete", getIsDelete())
            .append("salesVolume", getSalesVolume())
            .append("expressTypeId", getExpressTypeId())
            .append("goodsSkuImage", getGoodsSkuImage())
            .toString();
    }
}
